var say = -1;

function start() {
action(1,0,0);
}


function action(mode, type, selection) {
if (mode == 0)
say--;
if (mode == 1)
say++;

	switch(say) {
	case 0:
	cm.sendOk("dd");
	cm.dispose();
	break;

	}

}